package com.zbkj.service.service.mszs;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.common.model.mszs.MszsRoomRecord;
import com.zbkj.common.request.PageParamRequest;
import com.zbkj.common.request.mszs.MszsRoomRecordRequest;
import com.zbkj.common.request.mszs.MszsRoomRecordSelectRequest;
import com.zbkj.common.response.mszs.MszsRoomRecordResponse;

import java.util.List;

/**
 * @description 民宿助手酒店房间入住记录信息-service接口
 * @author lingfe
 * @date 2023-11-16
 */
public interface MszsRoomRecordService extends IService<MszsRoomRecord> {

    /**
     * 酒店房间入住记录--新增
     * @param request
     * @return
     */
    boolean insert(MszsRoomRecordRequest request);

    /**
     * 酒店房间入住记录--修改
     * @param request
     * @return
     */
    boolean update(MszsRoomRecordRequest request);

    /**
     * 酒店房间入住记录--删除
     * @param id
     * @return
     */
    boolean delete(Integer id);

    /**
     *根据主键 id 查询
     * @param id
     * @return
     */
    MszsRoomRecordResponse load(Integer id);

    /**
     * 酒店房间入住记录列表
     * @param request
     * @param pageParamRequest
     * @return
     */
    List<MszsRoomRecord> pageList(MszsRoomRecordSelectRequest request, PageParamRequest pageParamRequest);


}
